package com.cnap.multiclouldmgmt.model.k8sModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 集群组件基础信息
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sModels.ContainerModel",description = "容器信息")
public class ContainerModel {

    //容器名称
    @ApiModelProperty(value = "容器名称")
    private String containerName;

    //容器镜像
    @ApiModelProperty(value = "容器镜像")
    private String containerImage;

    //状态
    @ApiModelProperty(value = "状态")
    private String status;

    //启停次数
    @ApiModelProperty(value = "启停次数")
    private int restartTimes;

    //containerId
    @ApiModelProperty(value = "containerId")
    private String containerId;

    /**
     * get
     *
     * @return ContainerId
     */
    public String getContainerId() {
        return containerId;
    }

    /**
     * set
     *
     * @param containerId containerId
     */
    public void setContainerId(String containerId) {
        this.containerId = containerId;
    }

    /**
     * get
     *
     * @return ContainerName
     */
    public String getContainerName() {
        return containerName;
    }

    /**
     * set
     *
     * @param containerName containerName
     */
    public void setContainerName(String containerName) {
        this.containerName = containerName;
    }

    /**
     * get
     *
     * @return ContainerImage
     */
    public String getContainerImage() {
        return containerImage;
    }

    /**
     * set
     *
     * @param containerImage containerImage
     */
    public void setContainerImage(String containerImage) {
        this.containerImage = containerImage;
    }

    /**
     * get
     *
     * @return Status
     */
    public String getStatus() {
        return status;
    }

    /**
     * set
     *
     * @param status status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * get
     *
     * @return RestartTimes
     */
    public int getRestartTimes() {
        return restartTimes;
    }

    /**
     * set
     *
     * @param restartTimes restartTimes
     */
    public void setRestartTimes(int restartTimes) {
        this.restartTimes = restartTimes;
    }
}
